<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div id="content" class="col-lg-10 col-sm-10">
    <!-- content starts -->
    <div>
        <ul class="breadcrumb">
            <li>
                <a href="#">Home</a>
            </li>
            <li>
                <a href="#">Take Presence</a>
            </li>
        </ul>
    </div>
    <div class="row">
        <div class="box col-md-12">
            <div class="box-inner">
                <div class="box-header well" data-original-title="">
                    <h2>All Students</h2>

                    <div class="box-icon">
                        <!--                        <a href="#" class="btn btn-setting btn-round btn-default"><i class="glyphicon glyphicon-cog"></i></a>-->
                        <a href="#" class="btn btn-minimize btn-round btn-default"><i class="glyphicon glyphicon-chevron-up"></i></a>
                        <!--                        <a href="#" class="btn btn-close btn-round btn-default"><i class="glyphicon glyphicon-remove"></i></a>-->
                    </div>
                </div>
                <div class="box-content">
                    <table class="table">
                        <thead>
                            <tr>
                                <!--<th>Enroll No</th>-->
                                <th>Name</th>

                                <th>Action</th>
                            </tr>
                        </thead>
                        <tbody id="tbody_id">


                            <c:forEach items="${sessionScope.div_students}" var="student">
                                <tr id="tr_${student.id}">

                                    <td class="center" id="td_fname_${student.id}">${student.fname} &nbsp; ${student.lname}</td>

                                    <td class="center">
                                        <div class="checkbox">
                                            <label>
                                                <input type="checkbox" id="td_chk_${student.id}" value="">                                                
                                            </label>
                                        </div>
                                    </td>
                                </tr>
                            </c:forEach>

                        </tbody>
                    </table>
                    <form action="StudentPresenceAction.do" method="post"  id="form_id"> 
                        <input type="hidden" id="presence_string" name="presence_string" value=""/>
                        <input type="button" value="Save" id="save_btn"/>
                    </form>
                   
                </div>
            </div>
        </div>



    </div>

